<!DOCTYPE html>
<title>oncall</title>
<body>
  {{.FeedbackButton}}
<script src="/static/dist/bundle.js"></script>
<nav-bar page="oncall" logoutURL="{{.LogoutURL}}"></nav-bar>
{{if .Rotas}}
<fieldset>
  <legend>Oncall</legend>
    <rota-oncall rotas="{{.Rotas}}" user="{{.User}}">
    </rota-oncall>
</fieldset>
{{end}}
{{if .Current}}
<rota-shift-swap shifts='{{.Current}}' neededMembers='{{.NumOncall}}'>
  </rota-shift-swap>
{{end}}
</body>
